<%@page pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/common/prelude.jsp"%>
<!DOCTYPE html>
<html>
  <head>
    <title>ログイン - フォトサルベージの輪</title>
    <%@ include file="/WEB-INF/jsp/common/common-head.jsp"%>
    <%@ include file="/WEB-INF/jsp/pc/common/common-head.jsp"%>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/pc/users/login.css">
  </head>
  <body>
    <form id="loginForm" action="${pageContext.request.contextPath}/users/login" method="POST">
      <div id="logo-area">
        <img src="${pageContext.request.contextPath}/images/logo.png">
      </div>
      <%@ include file="/WEB-INF/jsp/common/errors.jsp"%>
      <div class="fieldContain">
        <label for="email">メールアドレス:</label>
        <input id="email" name="email" type="email" value="${pageContext.request.parameterMap['email'][0]}">
      </div>
      <div class="fieldContain">
        <label for="password">パスワード:</label>
        <input id="password" name="password" type="password" value="${pageContext.request.parameterMap['password'][0]}" required>
      </div>
      <div class="commandButtons">
        <button>ログイン</button>
      </div>
    </form>
    <%@ include file="/WEB-INF/jsp/common/common-foot.jsp"%>
    <%@ include file="/WEB-INF/jsp/pc/common/common-foot.jsp"%>
  </body>
</html>
